/**
 * 静态路由
 */
import Layout from '@/layout/layoutIndex.vue'
const constantRoutes = [
  {
    path: `/login`,
    name: `Login`,
    meta: {
      hiddenMenu: true,
    },

    component: () => import(`views/login/LoginIndex.vue`),
  },
  {
    path: `/`,
    redirect: `/Dashboard`,
    component: Layout,
    children: [
      {
        path: `/Dashboard`,
        name: `Dashboard`,
        meta: {
          title: `Dashboard`,
        },
        component: () => import(`views/dashboard/DashboardIndex.vue`),
      },
    ],
  },
]
export default constantRoutes
